
from core.basic.skill import 技能
from core.basic.character import Character
from core.basic.skill import 主动技能, 被动技能


class 技能0(主动技能):
    名称 = '烟尘弹'
    所在等级 = 10

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    MP = [30, 322]

    hit0 = 6
    CD = 6
    data0 = [0, 484, 533, 582, 631, 680, 730, 779, 828, 877, 926, 975, 1024, 1074, 1123, 1172, 1220, 1269, 1318, 1367, 1417, 1466, 1515, 1564, 1613, 1663, 1712, 1762, 1811, 1860, 1909, 1958, 2007, 2056, 2106, 2155,
             2203, 2252, 2301, 2350, 2399, 2449, 2498, 2547, 2596, 2645, 2694, 2743, 2794, 2843, 2892, 2941, 2990, 3039, 3087, 3138, 3187, 3235, 3284, 3333, 3382, 3431, 3481, 3530, 3579, 3628, 3677, 3726, 3775, 3826, 3875]
    TP成长 = 0.1
    TP上限 = 7
    MP = [30, 322]


class 技能1(主动技能):
    名称 = '刺踢'
    所在等级 = 15

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60
    MP = [20, 224]

    # 物理攻击力：<data0>%
    data0 = [0, 2866, 3157, 3449, 3738, 4029, 4321, 4610, 4903, 5193, 5482, 5775, 6066, 6359, 6648, 6938, 7231, 7520, 7813, 8103, 8392, 8685, 8975, 9267, 9556, 9847, 10139, 10428, 10721, 11011, 11305, 11595, 11884, 12177, 12467, 12759, 13049,
             13339, 13631, 13921, 14212, 14504, 14793, 15086, 15376, 15666, 15957, 16248, 16538, 16829, 17121, 17412, 17701, 17993, 18284, 18574, 18865, 19156, 19446, 19738, 20029, 20318, 20610, 20901, 21193, 21483, 21773, 22066, 22357, 22647, 22939]
    CD = 4.4
    TP成长 = 0.1
    TP上限 = 7


class 技能2(主动技能):
    名称 = '致命射击'
    所在等级 = 15

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    MP = [60, 560]

    CD = 6.237
    TP成长 = 0.1
    TP上限 = 5
    data0 = [0, 1908, 2100, 2294, 2487, 2682, 2874, 3068, 3262, 3455, 3648, 3843, 4035, 4229, 4422, 4617, 4809, 5003, 5197, 5390, 5583, 5778, 5970, 6164, 6357, 6552, 6744, 6938, 7132, 7325, 7518, 7713, 7905, 8099, 8293, 8487, 8679,
             8874, 9067, 9260, 9453, 9648, 9840, 10034, 10228, 10421, 10614, 10809, 11002, 11195, 11388, 11583, 11775, 11969, 12163, 12356, 12549, 12744, 12938, 13130, 13325, 13518, 13710, 13904, 14099, 14291, 14485, 14679, 14873, 15065, 15260]
    hit0 = 1


class 技能3(被动技能):
    名称 = '左轮奥义'
    所在等级 = 15
    等级上限 = 20
    基础等级 = 10

    def 物理攻击力倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.0 + 0.02 * self.等级, 5)


class 技能4(被动技能):
    名称 = '花式枪术'
    所在等级 = 20
    等级上限 = 20
    基础等级 = 10

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            if self.等级 <= 10:
                return round(1 + 0.01 * self.等级, 5)
            else:
                return round(1.1 + 0.02 * (self.等级 - 10), 5)


class 技能5(主动技能):
    名称 = '锁链截击'
    所在等级 = 25

    等级上限 = 70
    学习间隔 = 3
    等级精通 = 60

    MP = [50, 420]

    CD = 5.0
    data0 = [0, 556, 645, 734, 822, 911, 1000, 1089, 1177, 1266, 1355, 1444, 1532, 1621, 1710, 1799, 1887, 1976, 2065, 2154, 2242, 2331, 2420, 2509, 2597, 2686, 2775, 2863, 2952, 3041,
             3130, 3218, 3307, 3396, 3485, 3573, 3662, 3751, 3840, 3928, 4017, 4106, 4195, 4283, 4372, 4461, 4550, 4638, 4727, 4816, 4905, 4993, 5082, 5171, 5260, 5348, 5437, 5526, 5615, 5703, 5792]
    # 1  第2击攻击力 : <data1>%
    data1 = [0, 834, 968, 1101, 1234, 1367, 1500, 1633, 1766, 1899, 2033, 2166, 2299, 2432, 2565, 2698, 2831, 2964, 3097, 3231, 3364, 3497, 3630, 3763, 3896, 4029, 4162, 4295, 4429,
             4562, 4695, 4828, 4961, 5094, 5227, 5360, 5494, 5627, 5760, 5893, 6026, 6159, 6292, 6425, 6558, 6692, 6825, 6958, 7091, 7224, 7357, 7490, 7623, 7757, 7890, 8023, 8156, 8289, 8422, 8555, 8688]
    # 2  第3击攻击力 : <data2>%
    data2 = [0, 834, 968, 1101, 1234, 1367, 1500, 1633, 1766, 1899, 2033, 2166, 2299, 2432, 2565, 2698, 2831, 2964, 3097, 3231, 3364, 3497, 3630, 3763, 3896, 4029, 4162, 4295, 4429,
             4562, 4695, 4828, 4961, 5094, 5227, 5360, 5494, 5627, 5760, 5893, 6026, 6159, 6292, 6425, 6558, 6692, 6825, 6958, 7091, 7224, 7357, 7490, 7623, 7757, 7890, 8023, 8156, 8289, 8422, 8555, 8688]

    hit0 = 5
    hits1 = 1
    hits2 = 1


class 技能6(主动技能):
    名称 = '音速劫击'
    所在等级 = 30

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    MP = [50, 420]

    CD = 4.4
    TP成长 = 0.1
    TP上限 = 7
    data0 = [0, 1430, 1576, 1721, 1866, 2011, 2157, 2301, 2447, 2591, 2737, 2883, 3028, 3173, 3319, 3463, 3609, 3753, 3899, 4043, 4189, 4335, 4480, 4625, 4771, 4915, 5061, 5205, 5351, 5496, 5641, 5787, 5932, 6077, 6223, 6367,
             6513, 6657, 6802, 6948, 7092, 7239, 7385, 7529, 7675, 7819, 7964, 8109, 8254, 8400, 8544, 8691, 8837, 8981, 9126, 9271, 9416, 9562, 9706, 9852, 9996, 10143, 10288, 10433, 10578, 10723, 10868, 11014, 11158, 11304, 11448]
    hit0 = 3


class 技能7(主动技能):
    名称 = '枪舞'
    所在等级 = 35

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [0, 326, 359, 392, 426, 458, 492, 525, 558, 592, 624, 657, 691, 724, 758, 790, 823, 857, 890, 923, 956, 989, 1022, 1056, 1089, 1121, 1155, 1188, 1222, 1254, 1287, 1321, 1354, 1387, 1420, 1453, 1486,
             1520, 1553, 1585, 1619, 1652, 1686, 1719, 1751, 1785, 1818, 1852, 1885, 1917, 1951, 1984, 2019, 2052, 2084, 2118, 2151, 2184, 2218, 2250, 2283, 2317, 2350, 2384, 2416, 2449, 2483, 2516, 2549, 2582, 2615]
    hit0 = 20
    data1 = [0, 580, 639, 699, 758, 816, 876, 934, 994, 1052, 1111, 1170, 1230, 1287, 1347, 1407, 1464, 1523, 1583, 1642, 1700, 1760, 1818, 1878, 1937, 1995, 2054, 2114, 2174, 2231, 2291, 2350, 2407, 2467, 2527, 2585,
             2644, 2703, 2762, 2821, 2880, 2938, 2998, 3058, 3115, 3175, 3234, 3293, 3351, 3411, 3469, 3529, 3587, 3647, 3705, 3765, 3824, 3882, 3942, 4001, 4059, 4118, 4178, 4235, 4295, 4354, 4413, 4471, 4531, 4589, 4649]
    hit1 = 9
    CD = 17.6
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    MP = [200, 1680]
    无色消耗 = 1

    def 装备护石(self):
        self.CDR *= 0.9
        self.hit0 = 0
        self.hit1 *= (2 * 1.49)


class 技能8(主动技能):
    名称 = '移动射击'
    所在等级 = 35

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [0, 555, 610, 667, 723, 779, 836, 891, 948, 1004, 1060, 1117, 1174, 1229, 1286, 1343, 1399, 1455, 1511, 1568, 1623, 1679, 1736, 1793, 1848, 1905, 1962, 2018, 2074, 2130, 2187, 2244, 2298, 2355, 2412, 2467,
             2524, 2581, 2637, 2693, 2750, 2806, 2863, 2917, 2974, 3031, 3086, 3143, 3200, 3256, 3312, 3369, 3425, 3482, 3536, 3593, 3650, 3707, 3762, 3819, 3875, 3931, 3988, 4044, 4101, 4156, 4212, 4269, 4326, 4381, 4438]
    hit0 = 30
    CD = 24.3
    TP成长 = 0.10
    TP上限 = 5

    MP = [200, 1680]
    无色消耗 = 1


class 技能9(主动技能):
    名称 = '多重射击'
    所在等级 = 40

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    data0 = [2704, 2978, 3251, 3527, 3800, 4076, 4350, 4623, 4898, 5171, 5447, 5721, 5994, 6270, 6544, 6819, 7093, 7366, 7641, 7916, 8190, 8464, 8739, 9013, 9287, 9563, 9836, 10110, 10384, 10659, 10934, 11207, 11482, 11757, 12030, 12306,
             12579, 12853, 13129, 13402, 13677, 13950, 14225, 14500, 14773, 15049, 15323, 15596, 15872, 16145, 16420, 16695, 16968, 17243, 17518, 17792, 18066, 18339, 18615, 18889, 19163, 19438, 19712, 19986, 20261, 20536, 20809, 21083, 21358, 21632]
    hit0 = 5
    CD = 19.8
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    无色消耗 = 1
    MP = [150, 1260]

    def 装备护石(self):
        self.倍率 = 1.27


class 技能10(主动技能):
    名称 = '双鹰回旋'
    所在等级 = 45

    等级上限 = 70
    学习间隔 = 2
    等级精通 = 60

    # 第1次物理攻击力：<data0>%
    data0 = [0, 519, 571, 624, 676, 729, 782, 834, 887, 940, 992, 1045, 1097, 1151, 1203, 1255, 1308, 1361, 1414, 1466, 1518, 1572, 1624, 1677, 1729, 1783, 1835, 1887, 1940, 1993, 2046, 2098, 2150, 2204,
             2256, 2309, 2361, 2415, 2467, 2519, 2572, 2625, 2678, 2730, 2782, 2836, 2888, 2940, 2993, 3046, 3099, 3151, 3203, 3257, 3309, 3362, 3414, 3468, 3520, 3572, 3625, 3678, 3731, 3783, 3835, 3889, 3941, 3994, 4046, 4100, 4152]
    # 第2次物理攻击力：<data1>%
    data1 = [0, 530, 583, 637, 691, 745, 798, 852, 907, 960, 1014, 1067, 1121, 1176, 1229, 1283, 1336, 1390, 1445, 1498, 1552, 1605, 1659, 1714, 1767, 1821, 1874, 1928, 1983, 2036, 2090, 2143, 2197, 2251,
             2305, 2359, 2412, 2466, 2520, 2574, 2628, 2681, 2735, 2789, 2843, 2896, 2950, 3004, 3058, 3112, 3165, 3219, 3273, 3327, 3381, 3434, 3488, 3543, 3596, 3650, 3703, 3757, 3812, 3865, 3919, 3972, 4026, 4081, 4134, 4188, 4241]
    power1 = 1
    # 第3次物理攻击力：<data2>%
    data2 = [0, 562, 619, 676, 733, 790, 847, 904, 962, 1019, 1076, 1133, 1190, 1247, 1303, 1360, 1417, 1474, 1532, 1589, 1646, 1703, 1760, 1817, 1874, 1931, 1988, 2046, 2103, 2160, 2217, 2274, 2331, 2388,
             2444, 2501, 2559, 2616, 2673, 2730, 2787, 2844, 2901, 2958, 3015, 3073, 3130, 3187, 3244, 3301, 3358, 3415, 3472, 3530, 3585, 3643, 3700, 3757, 3814, 3871, 3928, 3985, 4042, 4100, 4157, 4214, 4271, 4328, 4385, 4442, 4499]
    hit0 = 14
    hit1 = 18
    hit2 = 32
    CD = 44.55
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    无色消耗 = 2
    MP = [360, 3024]

    def 装备护石(self):
        self.hit0 = 0
        self.power1 *= 1.2
        self.hit1 = 24
        self.hit2 = 46


class 技能11(被动技能):
    名称 = '隐匿切割'
    所在等级 = 48

    等级上限 = 40
    等级精通 = 30
    学习间隔 = 3

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.065 + 0.02 * self.等级, 5)


class 技能12(主动技能):
    名称 = '血腥狂欢'
    所在等级 = 50

    等级上限 = 60
    学习间隔 = 5
    等级精通 = 50

    # 向前斩击物理攻击力：<data0>%
    data0 = [0, 2421, 2983, 3543, 4104, 4666, 5228, 5788, 6350, 6911, 7473, 8035, 8596, 9156, 9718, 10280, 10841, 11403, 11963, 12525, 13086,
             13648, 14211, 14773, 15334, 15894, 16456, 17018, 17580, 18140, 18701, 19263, 19825, 20385, 20947, 21509, 22071, 22632, 23192, 23754, 24316]
    # 该次数存疑
    hit0 = 24
    # 最后一击攻击力：<data1>%
    data1 = [0, 7181, 8846, 10512, 12177, 13842, 15507, 17173, 18837, 20504, 22170, 23833, 25499, 27165, 28831, 30495, 32161, 33825, 35491, 37157,
             38823, 40488, 42153, 43817, 45483, 47149, 48815, 50479, 52144, 53810, 55475, 57141, 58807, 60472, 62136, 63802, 65467, 67132, 68799, 70462, 72128]
    hit1 = 1
    CD = 145
    无色消耗 = 5
    MP = [1000, 8400]


class 技能13(主动技能):
    名称 = '鲜血劫击'
    所在等级 = 60

    等级上限 = 60
    学习间隔 = 2
    等级精通 = 50

    # 上升物理攻击力：<data0>%
    data0 = [0, 9783, 10777, 11769, 12762, 13755, 14746, 15739, 16731, 17725, 18717, 19711, 20702, 21695, 22688, 23681, 24673, 25666, 26659, 27650, 28644, 29636, 30629, 31622, 32615, 33606, 34600, 35592, 36584, 37578, 38569, 39562, 40555, 41548, 42540,
             43534, 44525, 45518, 46511, 47504, 48497, 49489, 50481, 51473, 52467, 53459, 54453, 55445, 56437, 57429, 58423, 59415, 60407, 61401, 62392, 63386, 64378, 65371, 66364, 67357, 68348, 69342, 70334, 71326, 72320, 73311, 74304, 75296, 76290, 77282, 78276]
    # [新月斩击]物理攻击力：<data1>%
    data1 = [10963, 12074, 13185, 14297, 15410, 16522, 17635, 18746, 19858, 20970, 22083, 23195, 24308, 25419, 26530, 27642, 28755, 29867, 30980, 32092, 33204, 34317, 35428, 36540, 37651, 38764, 39876, 40989, 42100, 43212, 44325, 45437, 46549, 47662,
             48774, 49884, 50997, 52109, 53221, 54334, 55446, 56559, 57670, 58782, 59895, 61007, 62118, 63230, 64343, 65454, 66566, 67679, 68791, 69904, 71016, 72128, 73241, 74351, 75463, 76576, 77688, 78800, 79913, 81024, 82136, 83249, 84361, 85474, 86586, 87697]
    hit0 = 1
    hit1 = 1
    CD = 25.0
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    无色消耗 = 2
    MP = [400, 1120]

    def 装备护石(self):

        self.hit0 += 1.47+0.44
        self.hit1 = 0
        # self.倍率 *= 1.44


class 技能14(主动技能):
    名称 = '压制射击'
    所在等级 = 70

    等级上限 = 60
    学习间隔 = 2
    等级精通 = 50
    # 基础 = 1254.33
    # 成长 = 141.67
    # 基础2 = 2789.17
    # 成长2 = 314.83
    # 前方乱射攻击力：<data0>%
    data0 = [0, 1954, 2151, 2349, 2548, 2745, 2946, 3145, 3342, 3541, 3739, 3937, 4135, 4333, 4531, 4730, 4927, 5126, 5323, 5522,
             5722, 5920, 6118, 6317, 6514, 6713, 6911, 7109, 7307, 7505, 7703, 7902, 8099, 8299, 8495, 8696, 8895, 9092, 9291, 9489, 9687]
    # 最后射击攻击力：<data1>%
    data1 = [0, 4344, 4783, 5224, 5663, 6106, 6546, 6986, 7426, 7868, 8308, 8749, 9188, 9631, 10070, 10510, 10953, 11392, 11833, 12272, 12715,
             13155, 13595, 14037, 14477, 14917, 15359, 15799, 16240, 16679, 17120, 17562, 18001, 18443, 18882, 19324, 19764, 20205, 20646, 21086, 21526]
    hit0 = 20
    hit1 = 1

    power1 = 1
    CD = 50.0
    TP成长 = 0.10
    TP上限 = 5
    是否有护石 = 1

    无色消耗 = 3
    MP = [800, 1680]

    def 装备护石(self):
        self.power0 *= 1.185
        self.power1 *= 2.30


class 技能15(被动技能):
    名称 = '枪刃改良'
    所在等级 = 75

    等级上限 = 40
    等级精通 = 30
    学习间隔 = 3

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.22 + 0.02 * self.等级, 5)


class 技能16(主动技能):
    名称 = '死亡锁链'
    所在等级 = 75

    等级上限 = 60
    学习间隔 = 3
    等级精通 = 50

    # 快速射击攻击力：<data0>%
    data0 = [0, 6871, 7966, 9063, 10157, 11253, 12349, 13445, 14541, 15636, 16733, 17827, 18922, 20017, 21113, 22209, 23305, 24399, 25495, 26591,
             27687, 28782, 29879, 30975, 32068, 33163, 34259, 35354, 36451, 37547, 38643, 39739, 40833, 41929, 43025, 44121, 45215, 46311, 47405, 48502, 49597]
    hit0 = 5
    # 最终射击攻击力：<data1>%
    data1 = [0, 20616, 23904, 27189, 30476, 33762, 37050, 40335, 43622, 46907, 50196, 53484, 56768, 60056, 63341, 66630, 69914, 73202, 76490, 79776, 83062, 86348,
             89636, 92923, 96208, 99495, 102782, 106070, 109354, 112642, 115928, 119216, 122500, 125788, 129076, 132362, 135649, 138934, 142222, 145509, 148795]
    hit1 = 1
    CD = 40.0

    无色消耗 = 3
    MP = [580, 4500]

    是否有护石 = 1

    def 装备护石(self):
        self.倍率 *= 1 + 0.375 * 0.94


class 技能17(主动技能):
    名称 = '锁链切割'
    所在等级 = 80

    等级上限 = 60
    学习间隔 = 2
    等级精通 = 50

    # 第1击攻击力：<data0>%
    data0 = [0, 18799, 20707, 22615, 24522, 26430, 28335, 30243, 32151, 34058, 35965, 37873, 39780, 41688, 43596, 45501, 47409, 49316, 51224, 53132,
             55038, 56946, 58854, 60761, 62667, 64576, 66482, 68390, 70298, 72204, 74112, 76019, 77927, 79833, 81740, 83648, 85556, 87462, 89370, 91278, 93185]
    hit0 = 1
    # 第2击攻击力：<data1>%
    data1 = [0, 18799, 20707, 22615, 24522, 26430, 28335, 30243, 32151, 34058, 35965, 37873, 39780, 41688, 43596, 45501, 47409, 49316, 51224, 53132,
             55038, 56946, 58854, 60761, 62667, 64576, 66482, 68390, 70298, 72204, 74112, 76019, 77927, 79833, 81740, 83648, 85556, 87462, 89370, 91278, 93185]
    hit1 = 1
    # 第3击攻击力：<data2>%
    data2 = [0, 25066, 27610, 30154, 32695, 35239, 37782, 40326, 42868, 45412, 47955, 50497, 53040, 55584, 58126, 60670, 63213, 65757, 68298, 70842, 73385,
             75928, 78471, 81015, 83556, 86100, 88643, 91187, 93730, 96273, 98817, 101358, 103902, 106445, 108989, 111531, 114075, 116618, 119160, 121703, 124247]
    hit2 = 1
    CD = 45.0
    是否有护石 = 1

    无色消耗 = 5
    MP = [800, 8000]

    def 装备护石(self):
        self.倍率 *= 1.34


class 技能18(主动技能):
    名称 = '血舞祭'
    所在等级 = 85

    等级上限 = 60
    学习间隔 = 5
    等级精通 = 50

    data0 = [0, 145812, 179626, 213436, 247249, 281061, 314872, 348685, 382497, 416309, 450121, 483934, 517744, 551557, 585368, 619180, 652993, 686804, 720617, 754429, 788241,
             822053, 855863, 889676, 923488, 957300, 991112, 1024925, 1058736, 1092549, 1126360, 1160171, 1193984, 1227795, 1261608, 1295420, 1329232, 1363044, 1396857, 1430668, 1464480]
    CD = 180

    无色消耗 = 10
    MP = [2500, 8000]


class 技能19(被动技能):
    名称 = '锁链意志'
    所在等级 = 95

    等级上限 = 50
    学习间隔 = 3
    等级精通 = 40

    关联技能 = ['所有']

    def 加成倍率(self, 武器类型):
        if self.等级 == 0:
            return 1.0
        else:
            return round(1.18 + 0.02 * self.等级, 5)


class 技能20(主动技能):
    名称 = '毁灭风暴'
    所在等级 = 95

    等级上限 = 50
    学习间隔 = 2
    等级精通 = 40

    无色消耗 = 7
    MP = [960, 9600]

    CD = 60.0
    # 合并数据
    # data0 = [int(i*1.00) for i in [0, 22175, 24426, 26677, 28928, 31179, 33430, 35681, 37932, 40183, 42434, 44685, 46936, 49187, 51438, 53689, 55940, 58191, 60442, 62693, 64944, 67195, 69446, 71697, 73948, 76199, 78450, 80701, 82952, 85203, 87454, 89705, 91956, 94207, 96458, 98709, 100960, 103211, 105462, 107713, 109964]]
    # hit0 = 3
    data0 = [0, 4854, 5347, 5840, 6332, 6825, 7318, 7809, 8302, 8795, 9288, 9780, 10273, 10766, 11257, 11750, 12243, 12735, 13228, 13721, 14213, 14706, 15198, 15690, 16183, 16676, 17168, 17661, 18154, 18645, 19138, 19631, 20124, 20616, 21109, 21602,
             22094, 22586, 23079, 23571, 24064, 24557, 25049, 25542, 26035, 26526, 27019, 27512, 28004, 28497, 28990, 29483, 29974, 30467, 30960, 31452, 31945, 32438, 32930, 33423, 33915, 34407, 34900, 35393, 35885, 36378, 36871, 37362, 37855, 38348, 38841]
    # 括号内为5个攻击的不同伤害倍率
    hit0 = (1.03+1.06+1.09+1.12+1.15)*3
    data1 = [0, 39690, 43716, 47744, 51770, 55797, 59823, 63849, 67877, 71903, 75930, 79956, 83982, 88009, 92036, 96063, 100089, 104115, 108142, 112169, 116196, 120222, 124249, 128275, 132303, 136329, 140355, 144382, 148408, 152434, 156462, 160488, 164515, 168541, 172567, 176595,
             180621, 184648, 188674, 192701, 196728, 200754, 204781, 208807, 212834, 216860, 220888, 224914, 228940, 232967, 236993, 241021, 245047, 249073, 253100, 257126, 261154, 265180, 269206, 273233, 277259, 281286, 285313, 289339, 293366, 297392, 301419, 305446, 309473, 313499, 317525]
    hit1 = 1
    data2 = [0, 2645, 2913, 3183, 3451, 3720, 3988, 4257, 4525, 4793, 5062, 5330, 5599, 5867, 6136, 6404, 6672, 6941, 7209, 7478, 7746, 8015, 8283, 8551, 8820, 9088, 9357, 9625, 9894, 10162, 10430, 10699, 10967, 11236, 11504, 11773, 12041,
             12309, 12578, 12846, 13115, 13383, 13651, 13920, 14188, 14457, 14725, 14994, 15262, 15530, 15799, 16067, 16336, 16604, 16873, 17141, 17409, 17678, 17946, 18215, 18483, 18752, 19020, 19288, 19557, 19825, 20094, 20362, 20631, 20899, 21167]
    hit2 = 5


class 技能21(主动技能):
    名称 = '盛放·绯红花园'
    所在等级 = 100

    等级上限 = 50
    学习间隔 = 5
    等级精通 = 40

    无色消耗 = 15
    MP = [4028, 9667]

    CD = 290
    data0 = [0, 4414, 5438, 6462, 7485, 8509, 9533, 10557, 11580, 12603, 13628, 14652, 15675, 16698, 17723, 18746, 19770, 20793, 21818, 22841, 23865,
             24888, 25913, 26936, 27960, 28983, 30008, 31031, 32054, 33078, 34102, 35126, 36149, 37173, 38197, 39221, 40244, 41268, 42292, 43316, 44339]
    hit0 = 5
    data1 = [0, 5518, 6798, 8077, 9357, 10637, 11916, 13196, 14475, 15755, 17035, 18314, 19594, 20874, 22153, 23433, 24713, 25992, 27272, 28552, 29831,
             31111, 32391, 33670, 34950, 36230, 37509, 38788, 40069, 41348, 42627, 43908, 45187, 46466, 47747, 49026, 50305, 51586, 52865, 54144, 55425]
    hit1 = 6
    data2 = [0, 8489, 10458, 12427, 14396, 16365, 18332, 20301, 22270, 24239, 26208, 28176, 30145, 32114, 34083, 36050, 38019, 39988, 41957, 43926, 45894,
             47863, 49832, 51801, 53770, 55737, 57706, 59675, 61644, 63613, 65581, 67550, 69519, 71488, 73457, 75424, 77393, 79362, 81331, 83299, 85268]
    hit2 = 7
    data3 = [0, 5518, 6798, 8077, 9357, 10637, 11916, 13196, 14475, 15755, 17035, 18314, 19594, 20874, 22153, 23433, 24713, 25992, 27272, 28552, 29831,
             31111, 32391, 33670, 34950, 36230, 37509, 38788, 40069, 41348, 42627, 43908, 45187, 46466, 47747, 49026, 50305, 51586, 52865, 54144, 55425]
    hit3 = 6
    data4 = [0, 8489, 10458, 12427, 14396, 16365, 18332, 20301, 22270, 24239, 26208, 28176, 30145, 32114, 34083, 36050, 38019, 39988, 41957, 43926, 45894,
             47863, 49832, 51801, 53770, 55737, 57706, 59675, 61644, 63613, 65581, 67550, 69519, 71488, 73457, 75424, 77393, 79362, 81331, 83299, 85268]
    hit4 = 13
    data5 = [0, 51505, 63449, 75392, 87336, 99279, 111223, 123166, 135108, 147052, 158995, 170939, 182882, 194826, 206769, 218713, 230656, 242600, 254543, 266487, 278430,
             290373, 302317, 314259, 326203, 338146, 350090, 362033, 373977, 385920, 397863, 409807, 421750, 433694, 445637, 457581, 469524, 481468, 493410, 505353, 517297]
    hit5 = 3
    data6 = [0, 3678, 4531, 5384, 6238, 7091, 7944, 8797, 9649, 10504, 11356, 12209, 13062, 13916, 14769, 15622, 16475, 17327, 18182, 19034, 19887,
             20740, 21593, 22447, 23300, 24153, 25006, 25858, 26712, 27565, 28418, 29271, 30125, 30978, 31831, 32684, 33536, 34390, 35243, 36096, 36949]
    hit6 = 6

# class 技能22(主动技能):
#     名称 = '致命回射'
#     所在等级 = 30
#     等级上限 = 1
#     基础等级 = 1
#     CD = 12.474


class classChange(Character):
    def __init__(self):
        self.实际名称 = 'ranger_female'
        self.名称 = '重霄·漫游枪手'
        self.角色 = '神枪手(女)'

        self.职业 = '漫游枪手'
        # 用来筛CP武器的
        self.转职 = '漫游枪手(女)'
        self.武器选项 = ['左轮枪']
        self.输出类型选项 = ['物理百分比']
        self.防具精通属性 = ['力量']
        self.类型 = '物理百分比'
        self.武器类型 = '左轮枪'
        self.防具类型 = '皮甲'
        技能列表 = []
        技能序号 = {}
        i = 0
        while i >= 0:
            try:
                tem = eval('技能'+str(i)+'()')
                tem.基础等级计算()
                技能序号[tem.名称] = i
                技能列表.append(tem)
                i += 1
            except:
                i = -1
        self.技能栏 = 技能列表
        self.技能序号 = 技能序号
        self.buff = 2.25

        super().__init__()

    # def 被动倍率计算(self):
    #     super().被动倍率计算()
    #     self.技能栏[self.技能序号['致命回射']].基础 = self.技能栏[self.技能序号['致命射击']].等效百分比(
    #         self.武器类型)*1.25
    #     self.技能栏[self.技能序号['致命回射']].被动倍率 = self.技能栏[self.技能序号['致命射击']].被动倍率
